package com.example.lin.homework_yjj_login.activity;

import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.view.View;

import com.example.lin.homework_yjj_login.R;

public class ForgetActivity extends AppCompatActivity {

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_forget);
    }

    /**
     * 按钮的点击事件
     *
     * @param view
     */
    public void back(View view) {
//        startActivity(new Intent(this,MainActivity.class));
        //主动结束activity(让该Activity出栈)
        finish();
    }

}
